<?php

function contact_chat()
{
    drupal_add_css(drupal_get_path('module', 'contact') .'/css/chatStyle.css', array('type' => 'file'));

    drupal_add_js(base_path().'sites/all/libraries/angular/angular.js', array('type' => 'file', 'scope' => 'footer'));
    drupal_add_js(base_path().'sites/all/libraries/socketio/socket.io.js', array('type' => 'file', 'scope' => 'footer'));

    drupal_add_js(drupal_get_path('module', 'contact') . '/js/socket.io-stream.js', array('type' => 'file', 'scope' => 'footer'));
    drupal_add_js(drupal_get_path('module', 'contact') . '/js/app.js', array('type' => 'file', 'scope' => 'footer'));
    drupal_add_js(drupal_get_path('module', 'contact') . '/js/controller.js', array('type' => 'file', 'scope' => 'footer'));
    drupal_add_js(drupal_get_path('module', 'contact') . '/js/services.js', array('type' => 'file', 'scope' => 'footer'));
    drupal_add_js(drupal_get_path('module', 'contact') . '/js/directives.js', array('type' => 'file', 'scope' => 'footer'));

    return '';
}